const mongoose = require('mongoose')    //引入Mongoose
const Schema = mongoose.Schema          //声明Schema

const topicSchema = new Schema({
    topicId:{unique:true,type:String},
    banner:{type:String},
    bg:{type:String},
    num:{type:Number},
    des:{type:String},
    title:{type:String}
})

mongoose.model('Topiclist',topicSchema)